<div class="subnavbar">

	<div class="subnavbar-inner">
	
		<div class="container">

			<ul class="mainnav">
			{% if currentPage is defined %}
				{% if currentPage == "answer/index" %}
				<li class="active">
					<a href="/answer/index">
						<i class="icon-code"></i>
						<span>题目</span>
					</a>	    				
				</li>
				{% endif %}
				{% if currentPage == "index" or  currentPage == "index/auth"%}
				<li class="active">
					<a href="/index/index">
						<i class="icon-dashboard"></i>
						<span>公告板</span>
					</a>    				
				</li>
					{% if currentPage == "index/auth" %}
				<li>
					<a href="/index/reports">
						<i class="icon-list-alt"></i>
						<span>排行榜</span>
					</a>    				
				</li>
					{% endif %}
				{% endif %}
			{% endif %}

				
			</ul>

		</div> <!-- /container -->
	
	</div> <!-- /subnavbar-inner -->

</div> <!-- /subnavbar -->